package com.entmanage.base.oa.mapper;

import java.util.List;

import com.entmanage.base.oa.domain.OaLeaveApply;
import com.entmanage.base.oa.domain.OaReissueApply;
import io.lettuce.core.dynamic.annotation.Param;

/**
 * 补卡申请Mapper接口
 * 
 * @author lsq
 * @date 2025-09-19
 */
public interface OaReissueApplyMapper 
{


    List<OaReissueApply> selectByApproverId(@Param("approverId") Long approverId);

    List<OaReissueApply> selectByCcId(@Param("ccId") Long currentUserId);

    /**
     * 查询补卡申请
     * 
     * @param applyId 补卡申请主键
     * @return 补卡申请
     */
    public OaReissueApply selectOaReissueApplyByApplyId(Long applyId);

    /**
     * 查询补卡申请列表
     * 
     * @param oaReissueApply 补卡申请
     * @return 补卡申请集合
     */
    public List<OaReissueApply> selectOaReissueApplyList(OaReissueApply oaReissueApply);

    /**
     * 新增补卡申请
     * 
     * @param oaReissueApply 补卡申请
     * @return 结果
     */
    public int insertOaReissueApply(OaReissueApply oaReissueApply);

    /**
     * 修改补卡申请
     * 
     * @param oaReissueApply 补卡申请
     * @return 结果
     */
    public int updateOaReissueApply(OaReissueApply oaReissueApply);

    /**
     * 删除补卡申请
     * 
     * @param applyId 补卡申请主键
     * @return 结果
     */
    public int deleteOaReissueApplyByApplyId(Long applyId);

    /**
     * 批量删除补卡申请
     * 
     * @param applyIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOaReissueApplyByApplyIds(Long[] applyIds);


}
